package zdream.control.region;

import java.util.Objects;

/**
 * @author Zdream
 * @date 2023-12-23
 * @since 0.0.1
 */
public class FoeSpawnPoint extends InterestPoint {
	public FoeSpawnPoint(ItemSpec spec, String pointName, float x, float y) {
		super(pointName, x, y);
		this.spec = Objects.requireNonNull(spec);
	}

	public final ItemSpec spec;

	@Override
	public boolean isForFoeSpawn() {
		return true;
	}

	@Override
	public FoeSpawnPoint asFoeSpawn() {
		return this;
	}
}
